package com.cleaningcloud.cld.domain;

import java.util.Date;

import com.cleaningcloud.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cleaningcloud.common.core.annotation.Excel;

/**
 * 福利管理对象 cld_welfare_send
 * 
 * @author cleaningcloud
 * @date 2024-11-08
 */
public class CldWelfareSend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 福利发放ID */
    private Long welfareSendId;

    /** 福利津贴ID */
    @Excel(name = "福利津贴ID")
    private Long walfareId;

    /** 发放时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发放时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;

    /** 项目ID */
    @Excel(name = "项目ID")
    private Long projectId;

    /** 创建人ID */
    @Excel(name = "创建人ID")
    private Long createId;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createName;

    /** 备注是否关闭 */
    @Excel(name = "备注是否关闭")
    private Long flag;

    public void setWelfareSendId(Long welfareSendId) 
    {
        this.welfareSendId = welfareSendId;
    }

    public Long getWelfareSendId() 
    {
        return welfareSendId;
    }
    public void setWalfareId(Long walfareId) 
    {
        this.walfareId = walfareId;
    }

    public Long getWalfareId() 
    {
        return walfareId;
    }
    public void setSendTime(Date sendTime) 
    {
        this.sendTime = sendTime;
    }

    public Date getSendTime() 
    {
        return sendTime;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setFlag(Long flag) 
    {
        this.flag = flag;
    }

    public Long getFlag() 
    {
        return flag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("welfareSendId", getWelfareSendId())
            .append("walfareId", getWalfareId())
            .append("sendTime", getSendTime())
            .append("projectId", getProjectId())
            .append("createId", getCreateId())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("flag", getFlag())
            .toString();
    }
}
